package com.kgc.est;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableEurekaClient //开启eureka客户端
@EnableHystrix //开启熔断
@EnableFeignClients //开启feign
public class EstConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(EstConsumerApplication.class,args);
    }
}
